<div class="tms-main-page-function">
    <div class="main-content">
        <div class="page-function">
            <ul class="wms-wbm-fun-left">
                <button class="layui-btn" ng-click="generatingListClick()">生成备料单</button>
                <button class="layui-btn" ng-click="shiftingParkingClick()">移库确认</button>
                <button class="layui-btn" ng-click="outboundInspectionClick()">出库质检</button>
                <button class="layui-btn" ng-click="outboundConfirmClick()">出库确认</button>
            </ul>
            <div class="wms-wbm-fun-right">
                <input type="text" placeholder="运单号-->回车查询" class="search-input" ng-model="search.oodWaybillNo" ng-keydown="searchListKeyDown($event)" />
                <button class="layui-btn" ng-click="moreClick()" ng-bind="moreText"></button>
                <button class="layui-btn" ng-click="refreshClick()"><i class="layui-icon">ဂ</i></button>
            </div>
        </div>
        <div class="otherForm" ng-show="otherForm">
            <ul>
                <li>
                    <div class="otherFormItem">
                        <div>货主</div>
                        <div>
                            <input type="text" class="layui-input" ng-model="search.oodCustomerName"/>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>调度单号</div>
                        <div>
                            <input type="text" class="layui-input" ng-model="search.oodDispatchNo"/>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>始发地</div>
                        <div>
                            <input type="text"  class="layui-input" ng-model="search.oodOrigin"/>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>目的地</div>
                        <div>
                            <input type="text"  class="layui-input" ng-model="search.oodDest"/>
                        </div>
                    </div>
                </li>

                <li>
                    <div class="otherFormItem">
                        <div>车型</div>
                        <div>
                            <input type="text" class="layui-input" ng-model="search.oodSupplierVsName"/>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>分供方</div>
                        <div>
                            <input type="text" class="layui-input" ng-model="search.oodSupplierId"/>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>状态</div>
                        <div>
                            <ui-select ng-model="dropDownDefault.status">
                                <ui-select-match>
                                    <span ng-bind="$select.selected.name"></span>
                                </ui-select-match>
                                <ui-select-choices repeat="status in (dropDownList.status | filter: $select.search) track by status.value">
                                    <span ng-bind="status.name"></span>
                                </ui-select-choices>
                                <ui-select-no-choice>
                                    没有加载到数据
                                </ui-select-no-choice>
                            </ui-select>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>检验结果</div>
                        <div>
                            <ui-select ng-model="dropDownDefault.inspectionResults">
                                <ui-select-match>
                                    <span ng-bind="$select.selected.name"></span>
                                </ui-select-match>
                                <ui-select-choices repeat="inspectionResults in (dropDownList.inspectionResults | filter: $select.search) track by inspectionResults.value">
                                    <span ng-bind="inspectionResults.name"></span>
                                </ui-select-choices>
                                <ui-select-no-choice>
                                    没有加载到数据
                                </ui-select-no-choice>
                            </ui-select>
                        </div>
                    </div>
                </li>

                <li>
                    <div class="otherFormItem">
                        <div>创建日期</div>
                        <div>
                            <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" ng-model="search.gmtCreate" ng-click="Tools.modelAssignment($event,this)" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this})" onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>至</div>
                        <div>
                            <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this})">
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>出库时间</div>
                        <div>
                            <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this})">
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>至</div>
                        <div>
                            <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this})">
                        </div>
                    </div>
                </li>

                <li>
                    <div class="otherFormItem otherFormItemButton">
                        <button class="layui-btn" ng-click="searchClick()">查询</button>
                        <button class="layui-btn" ng-click="resetClick()">重置</button>
                    </div>
                </li>
            </ul>
        </div>
        <div class="layui-form scrollTable">
            <table class="layui-table wms_wbm_main_table serial minScreen warehouseTable" style="width : 1920px;">
                <tbody>
                    <tr>
                        <th>
                            <input type="checkbox" name="allChoose" lay-skin="primary" lay-filter="allChoose">
                            <div class="layui-unselect layui-form-checkbox" lay-skin="primary">
                                <i class="layui-icon"></i>
                            </div>
                        </th>
                        <th>货主</th>
                        <th>调度单号</th>
                        <th>运单号</th>
                        <th>始发地</th>
                        <th>目的地</th>
                        <th>状态</th>
                        <th>检验结果</th>
                        <th>检验描述</th>
                        <th>车型</th>
                        <th>车型描述</th>
                        <th>底盘号（VIN号）</th>
                        <th>分供方</th>
                        <th>分供方司机</th>
                        <th>司机联系电话</th>
                        <th>车牌号</th>
                        <th>分供方车型</th>
                        <th>创建时间</th>
                        <th>创建人</th>
                        <th>备注</th>
                    </tr>
                    <tr ng-repeat="warehouse in warehouseList" >
                        <td>
                            <input type="checkbox" name="ckValue" ng-value="$index" lay-skin="primary" />
                            <div class="layui-unselect layui-form-checkbox" lay-skin="primary">
                                <i class="layui-icon"></i>
                            </div>
                        </td>
                        <td ng-bind="warehouse.oodCustomerName"></td>
                        <td ng-bind="warehouse.oodDispatchNo"></td>
                        <td ng-bind="warehouse.oodWaybillNo"></td>
                        <td ng-bind="warehouse.oodOrigin"></td>
                        <td ng-bind="warehouse.oodDest"></td>
                        <td ng-bind="warehouse.oodStatus | warehouseFilter"></td>
                        <td ng-bind="warehouse.oodCheckResult | inspectionResultsFilter"></td>
                        <td ng-bind="warehouse.oodCheckDesc"></td>
                        <td ng-bind="warehouse.oodVehicleSpecName"></td>
                        <td ng-bind="warehouse.oodVehicleSpecDesc"></td>
                        <td ng-bind="warehouse.oodVin"></td>
                        <td ng-bind="warehouse.oodSupplierId"></td>
                        <td ng-bind="warehouse.oodSupplierDriver"></td>
                        <td ng-bind="warehouse.oodSupplierPhone"></td>
                        <td ng-bind="warehouse.oodVehicleNumber"></td>
                        <td ng-bind="warehouse.oodSupplierVsName"></td>
                        <td ng-bind="warehouse.gmtCreate"></td>
                        <td ng-bind="warehouse.createUserName"></td>
                        <td ng-bind="warehouse.oodRemark"></td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="admin-table-page" style="text-align: center;">
            <div id="pages" class="page">
            </div>
        </div>
    </div>
</div>